package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.TiXianShenQing;
import com.stlm2.dems.dao.TiXianShenQingDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

@Repository("tiXianShenQingDao")
public class TiXianShenQingDaoImpl extends BaseDaoImpl<TiXianShenQing> implements TiXianShenQingDao {

    @Override
    public TiXianShenQing getUserThisWeekRecord(int userId) {
        return  selectOne("getUserThisWeekRecord",userId);
    }

    @Override
    public Double countTiXianMoney(Integer userId) {
        return  (Double) _selectOne("countTiXianMoney",userId);
    }
}